<?php
/**
 * Reports
 *
 * reports.php
 * @author Hector Lucero
 * @version 1.0
 * @copyright Hector Lucero, 13 October, 2011
 * @package 1.0
 **/

class Reports extends CI_Controller {
    
    public function __construct() {
        parent::__construct();

        $this->load->model("menu_model");
        $this->load->model("reports_model");

        //Only allow logged in users to access this controller
        if($this->session->userdata('logged_in') == FALSE) redirect('login');
    }

    function index() {
        $data = $this->menu_model->general("Reports");
        $data['content_html'] = "<h1>Pues fijate que no hasta que lo programes...</h1>";
        $this->load->view('template', $data);
    }
}        

/* end of file */
